#pragma once
#include "Enemy.h"

class GrabbingEnemy : public Enemy //Number 1 lul
{
private:
    Animation *walking;
	Image *dead, *grab, *fallingUp, *fallingDown;

	bool grabbing;

public:

    GrabbingEnemy(SpawnInfo spawnInfo);
	virtual ~GrabbingEnemy();

	virtual void tick();

    virtual Image* getCurrentImage()
    {
		if(alive){
			return grabbing ? grab : walking;
		} else if(v > 3){
			return fallingUp;
		//} else if(v < -3){
		//	return fallingDown;
		} else{
			return dead;
		}

    }

	virtual void handleDeath();
};
